#include <iostream>

int main() {
    float A,B,C;
    scanf("%f",&A);
    scanf("%f",&B);
    scanf("%f",&C);
    float x;
    x=((A*2)+(B*3)+(C*5))/(2+3+5);
    printf("%.1lf",x);
    return 0;
}
